gpsbabel.git
8 years agoMerge pull request #145 from tsteven4/webengine
GPSBabel [Sun, 10 Dec 2017 06:53:34 +0000 (00:53 -0600)]
Merge pull request #145 from tsteven4/webengine

Webengine

8 years agoMerge branch 'master' into webengine
tsteven4 [Sat, 9 Dec 2017 19:08:31 +0000 (12:08 -0700)]
Merge branch 'master' into webengine

8 years agomodify igc writer for consistent rounding. (#146)
tsteven4 [Sat, 9 Dec 2017 15:54:26 +0000 (08:54 -0700)]
modify igc writer for consistent rounding. (#146)

8 years agogui map js beautification and corrections.
tsteven4 [Fri, 8 Dec 2017 15:20:30 +0000 (08:20 -0700)]
gui map js beautification and corrections.

8 years agodelete obsolete & unused html files.
tsteven4 [Thu, 7 Dec 2017 23:30:13 +0000 (16:30 -0700)]
delete obsolete & unused html files.

8 years agoupdate gmapbase.html for modern stds compliance.
tsteven4 [Thu, 7 Dec 2017 23:08:50 +0000 (16:08 -0700)]
update gmapbase.html for modern stds compliance.

8 years agoimprove js debug & cleanup unused map stuff.
tsteven4 [Thu, 7 Dec 2017 19:29:25 +0000 (12:29 -0700)]
improve js debug & cleanup unused map stuff.

8 years agoadd debug clicker logging back, restore page name.
tsteven4 [Thu, 7 Dec 2017 17:49:24 +0000 (10:49 -0700)]
add debug clicker logging back, restore page name.

8 years agoMerge branch 'webengine' of https://github.com/tsteven4/gpsbabel into webengine
tsteven4 [Thu, 7 Dec 2017 17:40:53 +0000 (10:40 -0700)]
Merge branch 'webengine' of https://github.com/tsteven4/gpsbabel into webengine

8 years agoupdate to google maps api v3.
tsteven4 [Thu, 7 Dec 2017 17:39:24 +0000 (10:39 -0700)]
update to google maps api v3.

8 years agoMerge pull request #143 from gpsbabel/fix_bad_merge
GPSBabel [Wed, 6 Dec 2017 22:29:19 +0000 (16:29 -0600)]
Merge pull request #143 from gpsbabel/fix_bad_merge

Fix a bad merge base in PR 126. Only main.cc seems to be affected.

8 years agoFix includes after repairing 126.
Robert Lipe [Wed, 6 Dec 2017 22:25:43 +0000 (16:25 -0600)]
Fix includes after repairing 126.

8 years agoFix bad git merge in main.cc from PR 126
Robert Lipe [Wed, 6 Dec 2017 21:52:36 +0000 (15:52 -0600)]
Fix bad git merge in main.cc from PR 126

8 years agoMerge pull request #126 from gpsbabel/cleanup
GPSBabel [Wed, 6 Dec 2017 01:56:59 +0000 (19:56 -0600)]
Merge pull request #126 from gpsbabel/cleanup

Header sorting, moving to C++11. Iterator simplifications.

8 years agomake windows release script work for any clone name. (#140)
tsteven4 [Tue, 5 Dec 2017 22:03:16 +0000 (15:03 -0700)]
make windows release script work for any clone name. (#140)

8 years agoExtend KML, so that <TimeSpan> can be used to describe the time span (#115)
Dr. Tilmann Bubeck [Tue, 5 Dec 2017 15:10:57 +0000 (16:10 +0100)]
Extend KML, so that <TimeSpan> can be used to describe the time span (#115)

8 years agoSimplify time in gopal.
Robert Lipe [Tue, 5 Dec 2017 06:48:01 +0000 (00:48 -0600)]
Simplify time in gopal.

8 years agoMerge branch 'master' into cleanup
GPSBabel [Tue, 5 Dec 2017 05:35:01 +0000 (23:35 -0600)]
Merge branch 'master' into cleanup

8 years agoMerge remote-tracking branch 'origin/master' into webengine
tsteven4 [Tue, 5 Dec 2017 02:46:37 +0000 (19:46 -0700)]
Merge remote-tracking branch 'origin/master' into webengine

8 years agoadd utf8 file name test to windows appveyor builds. (#138)
tsteven4 [Mon, 4 Dec 2017 22:43:32 +0000 (15:43 -0700)]
add utf8 file name test to windows appveyor builds. (#138)

8 years agoBetter handling of UTF-8 paths (#87)
Viet-Tam Luu [Mon, 4 Dec 2017 21:54:19 +0000 (13:54 -0800)]
Better handling of UTF-8 paths (#87)

* Better handling of UTF-8 paths

Remove gpsbabel calls to qPrintable which destroys non-ANSI path names on Windows. Replace with QString::toUtf8() and modify low-level file handling code to use _wfopen() and other wide-char functions on Windows to support non-ASCII paths. (I did an experiment to convince myself that fopen() doesn't do UTF-8, and that _wfopen() correctly creates a file with a non-ASCII filename starting from a UTF-8 name.) Add ufopen() function as a UTF-8 wrapper for fopen(). Change inifile_init() filename argument type to QString.

Leave serial port paths alone ("if your serial port path has non-ANSI characters, you're going to have a bad time").

* Fix valgrind mismatched free/malloc error.

* Correctly encode output paths in native locale on non-Windows

On Mac/Linux, convert output file path from internal UTF-8 to local encoding (which may be UTF-8 or something else) when creating the file. Fixes test_encoding failure.

* Support Unicode paths for .gz files on Windows

Use zlib's Windows-specific gzopen_w() to support Unicode paths.

* Convert UTF-8 to local encoding when opening gzip file on non-Windows

This should fix the test_encoding failure on Travis-CI.

Also, change Windows side to manually allocating wchar_t array; although a bit less elegant, it's very localized and avoids introducing a whole new dependency on std::wstring.

* Use explicit char* to QString conversion in qPrintable

The implicit conversion works, but I prefer the an explicit one (if only as a reminder that we should convert all internal strings to QString).

* Add comment to QString-to-wchar_t[] conversion

... since it may not be immediately obvious what that line of code does.

* Fix merge conflict resolution error

* Fix merge conflict (again)

* Revert shape.cc

* Update gbfile.cc

* Update mkt_logger.cc to use QString tempfile paths.

* Change ufopen() to take QString filename argument.
Where converting from char*, use an explicit QString::fromUtf8() conversion rather than the implicit QString(const char*) constructor.

* Use QFile::exists() and QFile::open() rather than ufopen() to verify a file exists and can be opened.

* Remove redundant call to QFile::exists(). Trivial include cleanup in main.cc.

* Remove superfluous QVector include.

* add newline at EOF.

8 years agoMerge pull request #124 from tsteven4/appveyor
GPSBabel [Mon, 4 Dec 2017 08:17:12 +0000 (02:17 -0600)]
Merge pull request #124 from tsteven4/appveyor

Appveyor for misc internal builds (debug /opt, 32/64, mscvc/gcc, etc) and start adding features to allow a full release withing Amveor, hopefully in lliest tientethan it takes my VM down download and register the mandatory 4GB of updates!  Hooray kl

8 years agoMerge pull request #132 from viettaml/getenv-unicode
GPSBabel [Mon, 4 Dec 2017 06:43:03 +0000 (00:43 -0600)]
Merge pull request #132 from viettaml/getenv-unicode

Support Unicode environment variables.

8 years agoget gui map preview working with webengine.
tsteven4 [Sun, 3 Dec 2017 03:25:58 +0000 (20:25 -0700)]
get gui map preview working with webengine.

8 years agoMerge pull request #131 from gpsbabel/551
tsteven4 [Fri, 1 Dec 2017 01:33:23 +0000 (18:33 -0700)]
Merge pull request #131 from gpsbabel/551

add missing Qt libs for gui on linux.

8 years agoSupport Unicode environment variables.
Viet-Tam Luu [Fri, 1 Dec 2017 00:53:58 +0000 (16:53 -0800)]
Support Unicode environment variables.
Create ugetenv() OS-abstraction to return a QString environment variable value. Use it in place of getenv() in most places. Update inifile.cc routines to use QString to support Unicode paths for the gpsbabel.ini file, also greatly streamlining the code.

8 years agoadd missing Qt libs for gui on linux.
tsteven4 [Fri, 1 Dec 2017 00:38:28 +0000 (17:38 -0700)]
add missing Qt libs for gui on linux.

The required plugin platforms/libqxcb.so needs
libQt5DBus and libQt5XcbQpa.

8 years agoMerge pull request #5 from gpsbabel/master
Viet-Tam Luu [Thu, 30 Nov 2017 17:28:48 +0000 (09:28 -0800)]
Merge pull request #5 from gpsbabel/master

Merge gpsbabel/gpsbabel to viettaml/gpsbabel

8 years agoMerge pull request #130 from tsteven4/encoding_test
tsteven4 [Tue, 28 Nov 2017 23:40:30 +0000 (16:40 -0700)]
Merge pull request #130 from tsteven4/encoding_test

add a test of utf8 filename handling.

8 years agoadd the changes for the latin1 test.
tsteven4 [Tue, 28 Nov 2017 23:00:23 +0000 (16:00 -0700)]
add the changes for the latin1 test.

8 years agoenhance latin1 encoding test.
tsteven4 [Tue, 28 Nov 2017 22:57:19 +0000 (15:57 -0700)]
enhance latin1 encoding test.

8 years agoadd a test of utf8 filename handlig.
tsteven4 [Tue, 28 Nov 2017 22:27:58 +0000 (15:27 -0700)]
add a test of utf8 filename handlig.

8 years agoMerge pull request #129 from viettaml/master
GPSBabel [Tue, 28 Nov 2017 19:59:38 +0000 (13:59 -0600)]
Merge pull request #129 from viettaml/master

Fix KML writer crash bug in realtime trackign.

8 years agoscript windows release process.
tsteven4 [Tue, 28 Nov 2017 19:11:41 +0000 (12:11 -0700)]
script windows release process.

8 years agoaddress reviewer concerns wrt inno setup.
tsteven4 [Tue, 28 Nov 2017 16:34:16 +0000 (09:34 -0700)]
address reviewer concerns wrt inno setup.

8 years agoFix KML writer crash bug
Viet-Tam Luu [Mon, 27 Nov 2017 23:32:52 +0000 (15:32 -0800)]
Fix KML writer crash bug
When Google Earth uses gpsbabel to import KML in "live" USB mode, kml_wr_position_init() is called before kml_wr_init() resulting in deferencing an uninitialized "writer" pointer. The solution is just to remove the setAutoFormatting(false) call; there's no real need for it as it doesn't measurably impact performance. Also remove other calls to remove nice formatting on timestamps (addressing a FIXME comment), and update the golden test data to match.

8 years agoAdd Q_UNUSED to GDB (moer to come) to hush this class of warnings.
Robert Lipe [Mon, 27 Nov 2017 06:34:41 +0000 (00:34 -0600)]
Add Q_UNUSED to GDB (moer to come) to hush this class of warnings.

8 years agoMove is_html (and a fwe in-methods that I could find) from int to bool.
Robert Lipe [Mon, 27 Nov 2017 05:47:25 +0000 (23:47 -0600)]
Move is_html (and a fwe in-methods that I could find) from int to bool.

8 years agoTry to repair damage to main.cc. Sheesh...this is why I should stick to
Robert Lipe [Mon, 27 Nov 2017 05:33:37 +0000 (23:33 -0600)]
Try to repair damage to main.cc. Sheesh...this is why I should stick to
mechanical changes and merging in older trees of work already done right now...

8 years agoBring in more header ordering and modernization. Collapse in work to
Robert Lipe [Mon, 27 Nov 2017 05:07:15 +0000 (23:07 -0600)]
Bring in more header ordering and modernization. Collapse in work to
simplify (C++-11-isze) some of the pretentious loop iterators in GeoJSON
and some of the silly ones elsewhere. Probably lots more to do.

8 years agoMerge branch 'cleanup' of https://github.com/gpsbabel/gpsbabel into cleanup
Robert Lipe [Mon, 27 Nov 2017 04:55:01 +0000 (22:55 -0600)]
Merge branch 'cleanup' of https://github.com/gpsbabel/gpsbabel into cleanup

8 years agoMerge pull request #125 from gpsbabel/cleanup
GPSBabel [Mon, 27 Nov 2017 04:52:19 +0000 (22:52 -0600)]
Merge pull request #125 from gpsbabel/cleanup

More strongly order header includes, some const-ification tweaks.

8 years agoHeader sorting, modernization.
Robert Lipe [Mon, 27 Nov 2017 04:45:45 +0000 (22:45 -0600)]
Header sorting, modernization.

8 years agoHeader sorting, modernization.
Robert Lipe [Mon, 27 Nov 2017 04:45:19 +0000 (22:45 -0600)]
Header sorting, modernization.

8 years agoHeader mods.
Robert Lipe [Mon, 27 Nov 2017 04:43:16 +0000 (22:43 -0600)]
Header mods.

8 years agoMore header sorting.
Robert Lipe [Mon, 27 Nov 2017 04:42:16 +0000 (22:42 -0600)]
More header sorting.

8 years agoMerge branch 'master' into cleanup
GPSBabel [Mon, 27 Nov 2017 03:11:53 +0000 (21:11 -0600)]
Merge branch 'master' into cleanup

8 years agoMerge pull request #123 from tsteven4/shape
GPSBabel [Mon, 27 Nov 2017 02:58:24 +0000 (20:58 -0600)]
Merge pull request #123 from tsteven4/shape

cleanup support for shape files.

8 years agoTry hoisting windows.h earlier for windows build.
Robert Lipe [Mon, 27 Nov 2017 02:44:47 +0000 (20:44 -0600)]
Try hoisting windows.h earlier for windows build.

8 years agoRemove more strays.
Robert Lipe [Mon, 27 Nov 2017 01:04:24 +0000 (19:04 -0600)]
Remove more strays.

8 years agoEliminate stray .note files.
Robert Lipe [Mon, 27 Nov 2017 01:01:02 +0000 (19:01 -0600)]
Eliminate stray .note files.

8 years agoTry to make #includes consistently ordered.
Robert Lipe [Mon, 27 Nov 2017 00:57:11 +0000 (18:57 -0600)]
Try to make #includes consistently ordered.

8 years agoupdate appveyor build.
tsteven4 [Sun, 26 Nov 2017 22:51:31 +0000 (15:51 -0700)]
update appveyor build.

run basic tests.
build windows installer.
archive installer.

8 years agodelete obsolete translation file from gui.
tsteven4 [Sun, 26 Nov 2017 22:50:50 +0000 (15:50 -0700)]
delete obsolete translation file from gui.

8 years agomtk test workaround for windows.
tsteven4 [Sun, 26 Nov 2017 22:50:03 +0000 (15:50 -0700)]
mtk test workaround for windows.

8 years agoMerge pull request #122 from gpsbabel/header_fixes
GPSBabel [Fri, 24 Nov 2017 07:26:39 +0000 (01:26 -0600)]
Merge pull request #122 from gpsbabel/header_fixes

Remove remaining scraps of electric fence. Favor Valgrind to Efence.

8 years agoMechanically update c style foo(void)
Robert Lipe [Fri, 24 Nov 2017 06:31:28 +0000 (00:31 -0600)]
Mechanically update c style foo(void)

8 years agocleanup support for shape files.
tsteven4 [Thu, 23 Nov 2017 00:39:37 +0000 (17:39 -0700)]
cleanup support for shape files.
memory leaks, memory corruption, and other bugs fixed.
on write the required .dbf file is now created.
test added.
document updated.

8 years agoRemove remaining scraps of electric fence. Valgrind > efence.
Robert Lipe [Wed, 22 Nov 2017 23:15:22 +0000 (17:15 -0600)]
Remove remaining scraps of electric fence. Valgrind > efence.

8 years agoMerge pull request #121 from tsteven4/gpxtest
tsteven4 [Mon, 20 Nov 2017 18:11:40 +0000 (11:11 -0700)]
Merge pull request #121 from tsteven4/gpxtest

Input redirection can fail with gpx reader on windows

8 years agoMerge pull request #114 from tsteven4/main_qstrings
tsteven4 [Mon, 20 Nov 2017 16:03:47 +0000 (09:03 -0700)]
Merge pull request #114 from tsteven4/main_qstrings

Qstring-ification of main.cc.

8 years agoupdate comment on QXmlStreamReader failures.
tsteven4 [Sun, 19 Nov 2017 22:19:35 +0000 (15:19 -0700)]
update comment on QXmlStreamReader failures.

8 years agowork around QXmlStreamReader issue on windows.
tsteven4 [Sun, 19 Nov 2017 22:09:03 +0000 (15:09 -0700)]
work around QXmlStreamReader issue on windows.

8 years agoMerge pull request #120 from tsteven4/trackfilter_qsort
tsteven4 [Sun, 19 Nov 2017 16:23:00 +0000 (09:23 -0700)]
Merge pull request #120 from tsteven4/trackfilter_qsort

ensure track filter merge operation is consistent.

8 years agoensure track filter merge operation is consistent.
tsteven4 [Sun, 19 Nov 2017 15:49:54 +0000 (08:49 -0700)]
ensure track filter merge operation is consistent.

8 years agoMerge pull request #119 from tsteven4/gtmtest
tsteven4 [Sat, 18 Nov 2017 22:13:24 +0000 (15:13 -0700)]
Merge pull request #119 from tsteven4/gtmtest

make gtm test OS independent.

8 years agomake gtm test OS independent.
tsteven4 [Sat, 18 Nov 2017 21:41:10 +0000 (14:41 -0700)]
make gtm test OS independent.

8 years agoMerge pull request #118 from tsteven4/globalsat2
tsteven4 [Sat, 18 Nov 2017 20:17:07 +0000 (13:17 -0700)]
Merge pull request #118 from tsteven4/globalsat2

fix globalsat dump on windows.

8 years agofix globalsat dump on windows.
tsteven4 [Sat, 18 Nov 2017 19:35:53 +0000 (12:35 -0700)]
fix globalsat dump on windows.

8 years agoQString-ification of main reviewers suggestions.
tsteven4 [Fri, 17 Nov 2017 23:45:18 +0000 (16:45 -0700)]
QString-ification of main reviewers suggestions.

8 years agoMerge pull request #117 from tsteven4/linuxusb
tsteven4 [Thu, 16 Nov 2017 17:12:56 +0000 (10:12 -0700)]
Merge pull request #117 from tsteven4/linuxusb

fix GPSBabel.pro for linux adding -lusb.

8 years agofix GPSBabel.pro for linux adding -lusb.
tsteven4 [Thu, 16 Nov 2017 16:58:59 +0000 (09:58 -0700)]
fix GPSBabel.pro for linux adding -lusb.

8 years agoMerge pull request #116 from tsteven4/msvc2
tsteven4 [Thu, 16 Nov 2017 16:28:56 +0000 (09:28 -0700)]
Merge pull request #116 from tsteven4/msvc2

build using msvc x64 on AppVeyor.

8 years agobuild using msvc x64 on AppVeyor.
tsteven4 [Thu, 16 Nov 2017 14:17:29 +0000 (07:17 -0700)]
build using msvc x64 on AppVeyor.

8 years agoQstring-ification of main.cc.
tsteven4 [Tue, 14 Nov 2017 22:22:02 +0000 (15:22 -0700)]
Qstring-ification of main.cc.

8 years agoMerge pull request #113 from tsteven4/elevation_precision
tsteven4 [Tue, 14 Nov 2017 19:24:53 +0000 (12:24 -0700)]
Merge pull request #113 from tsteven4/elevation_precision

change default gpx writer elevation precision to 3.

8 years agochange default gpx writer elevation precision to 3.
tsteven4 [Tue, 14 Nov 2017 18:47:43 +0000 (11:47 -0700)]
change default gpx writer elevation precision to 3.

8 years agoMerge pull request #112 from tsteven4/gopal_date
tsteven4 [Mon, 13 Nov 2017 23:22:07 +0000 (16:22 -0700)]
Merge pull request #112 from tsteven4/gopal_date

use locale independent string for gopal tracklog.

8 years agouse locale independent string for gopal tracklog.
tsteven4 [Mon, 13 Nov 2017 22:43:12 +0000 (15:43 -0700)]
use locale independent string for gopal tracklog.

8 years agoMore style/warning fixes.
Robert Lipe [Mon, 13 Nov 2017 17:40:07 +0000 (11:40 -0600)]
More style/warning fixes.

8 years agoFix trackfilter.
Robert Lipe [Mon, 13 Nov 2017 17:13:46 +0000 (11:13 -0600)]
Fix trackfilter.

8 years agoFix nmea.
Robert Lipe [Mon, 13 Nov 2017 17:09:58 +0000 (11:09 -0600)]
Fix nmea.

8 years agoMerge branch 'master' of https://github.com/gpsbabel/gpsbabel
Robert Lipe [Mon, 13 Nov 2017 16:55:17 +0000 (10:55 -0600)]
Merge branch 'master' of https://github.com/gpsbabel/gpsbabel

8 years agoReapply warning fixes to skytraq.
Robert Lipe [Mon, 13 Nov 2017 16:54:41 +0000 (10:54 -0600)]
Reapply warning fixes to skytraq.

8 years agoBring skytraq back to original version.
Robert Lipe [Mon, 13 Nov 2017 16:44:37 +0000 (10:44 -0600)]
Bring skytraq back to original version.

8 years agoMerge pull request #111 from tsteven4/unicsv_digits
tsteven4 [Mon, 13 Nov 2017 15:30:03 +0000 (08:30 -0700)]
Merge pull request #111 from tsteven4/unicsv_digits

fix unicsv writer msec corruption issue.

8 years agofix unicsv writer msec corruption issue.
tsteven4 [Mon, 13 Nov 2017 14:47:46 +0000 (07:47 -0700)]
fix unicsv writer msec corruption issue.

8 years agoThe final (?) piece for presubmit jooy..
Robert Lipe [Mon, 13 Nov 2017 09:52:18 +0000 (03:52 -0600)]
The final (?) piece for presubmit jooy..

8 years agoMmore of the code cldeanup handle. It was less fun than it looked.
Robert Lipe [Mon, 13 Nov 2017 09:50:09 +0000 (03:50 -0600)]
Mmore of the code cldeanup handle. It was less fun than it looked.

8 years agoMore of the mechanical warning drugery between naps.
Robert Lipe [Mon, 13 Nov 2017 09:47:46 +0000 (03:47 -0600)]
More of the mechanical warning drugery between naps.

8 years agoA bunch of busywork to satisfy hyperactive warnings from newer compilers. Part 1...
Robert Lipe [Mon, 13 Nov 2017 06:44:20 +0000 (00:44 -0600)]
A bunch of busywork to satisfy hyperactive warnings from newer compilers. Part 1. Explictly initialize every member of a struct, Don't use C-style functions that take no args, don't name method arguments that aren't used, etc.

8 years agoMerge pull request #108 from gpsbabel/header_fixes
GPSBabel [Mon, 13 Nov 2017 03:22:14 +0000 (21:22 -0600)]
Merge pull request #108 from gpsbabel/header_fixes

Down-merge appveyor work in progress.

8 years agoMerge pull request #110 from tsteven4/windows_testo
tsteven4 [Sun, 12 Nov 2017 23:56:20 +0000 (16:56 -0700)]
Merge pull request #110 from tsteven4/windows_testo

track-discard test to use testo gpsbabel()

8 years agotrack-discard test to use testo gpsbabel()
tsteven4 [Sun, 12 Nov 2017 22:49:59 +0000 (15:49 -0700)]
track-discard test to use testo gpsbabel()

8 years agoMerge pull request #109 from tsteven4/zlib
tsteven4 [Sat, 11 Nov 2017 17:28:37 +0000 (10:28 -0700)]
Merge pull request #109 from tsteven4/zlib

Update zlib from 1.2.8 to 1.2.11.

8 years agoUpdate zlib from 1.2.8 to 1.2.11.
tsteven4 [Sat, 11 Nov 2017 16:21:02 +0000 (09:21 -0700)]
Update zlib from 1.2.8 to 1.2.11.

8 years agoKeep the explict -l in LIBS.
Robert Lipe [Sat, 11 Nov 2017 04:35:04 +0000 (22:35 -0600)]
Keep the explict -l in LIBS.

8 years agoOmit the explicit .lib
Robert Lipe [Sat, 11 Nov 2017 04:17:47 +0000 (22:17 -0600)]
Omit the explicit .lib

8 years agoTry letting the compiler driver resolve path to setupapi.lib
Robert Lipe [Sat, 11 Nov 2017 03:58:00 +0000 (21:58 -0600)]
Try letting the compiler driver resolve path to setupapi.lib

8 years agoDoink. GPSBabel.pro. app.pro is the GUI.
Robert Lipe [Sat, 11 Nov 2017 03:46:05 +0000 (21:46 -0600)]
Doink. GPSBabel.pro. app.pro is the GUI.